<?php
define('PUBLIC_ROOT', str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__)));
define('DOC_ROOT', substr(PUBLIC_ROOT, 0, strrpos(PUBLIC_ROOT, '/')));
define('APP_NAME', 'Money');
define('APP_ROOT', DOC_ROOT.'/'.APP_NAME);
define('CORE_ROOT', DOC_ROOT.'/Core');

require_once CORE_ROOT.'/app.php';
$app = new App(); 
$app->run();